<ul>
    <li *ngFor="let item of nameS.names">{{item}}</li>
    <li *ngFor="let item of nameS.movies">{{item}}</li>
</ul>